package com.xscha.tableforge.constants;

/**
 * 视图类型枚举
 */
public enum ViewType {
    GRID("GRID", "表格视图"),
    KANBAN("KANBAN", "看板视图"),
    GANTT("GANTT", "甘特图视图"),
    CALENDAR("CALENDAR", "日历视图"),
    FORM("FORM", "表单视图"),
    CUSTOM("CUSTOM", "自定义视图");

    private final String code;
    private final String description;

    ViewType(String code, String description) {
        this.code = code;
        this.description = description;
    }

    public String getCode() {
        return code;
    }

    public String getDescription() {
        return description;
    }
}